package com.zhipu.balance.common

import android.os.Environment
import java.io.File


object Constants {
    /**
     * 日志路径
     */
    var LogPath = Environment.getExternalStorageDirectory().path + File.separator + "log"


    /**
     * 激活路径
     */
    var ActivatePath = Environment.getExternalStorageDirectory().path + File.separator + "Activate"

    /**
     * 2000或者3000
     */
    var  TWO_PERHAPS_THREE : Boolean = false



    /**
     * 标定500G 标定完成重新上电就好了
     */
    const val CALIBRATION_500 = "02FF203838383838E704"


    /**
     * 超載
     */
    const val OVERLOAD = "02202048484848484804"

    /**
     * 標定100
     */
    const val FARMAR_100 = "02FF203030313030EE04"

    /**
     * 標定200
     */
    const val FARMAR_200 = "02FF203030323030ED04"



    /**
     * 標定500
     */
    const val FARMAR_500 = "02FF203030353030EA04"

    /**
     * 標定1000
     */
    const val FARMAR_1000 = "02FF203031303030EE04"

    /**
     * 標定2000
     */
    const val FARMAR_2000 = "02FF203032303030ED04"


    /**
     * 標定3000
     */
    const val FARMAR_3000 = "02FF203033303030EC04"


    /**
     * 正在去皮
     */
    const val SEND_GO_PEELING = "62282030033603660684"

    /**
     * 切换成功
     */
    const val SWITCHOVER_SUCCESSFUL = "02202030303030323204"



    /**
     * 去皮完成
     */
    const val SEND_GO_START = "02202030303030343404"

    /**
     * 反饋成功
     */
    const val SEND_GET_COMMAND = "02202030303030060604"

    /**
     * 屏蔽
     */
    const val SHIELD = "02FF203030303030EF04"


    /**
     * 不稳定数据
     */
    const val DATA0X00 : Byte = 0x00

    /**
     * 秤重大於滿載
     */
    const val DATA0X40 : Byte = 0x40

    /**
     * 秤重大於滿載
     */
    const val DATA0X41 : Byte = 0x41

    /**
     * 秤重大於滿載
     */
    const val DATA0X68 : Byte = 0x68

    /**
     * 秤重大於滿載
     */
    const val DATA0X69 : Byte = 0x69

    /**
     * 正负
     */
    const val DATA0X45 : Byte = 0x45

    /**
     * 最大
     */
    const val DATA0X32 : Byte = 0x32


    const val NAME = "DISNEY"

    const val VERSION = 1


    /**
     * 是否可以输入
     */
    var whetherInput = true
}
